.box{
    /* height: 100vh; */
    padding-top: 45px;
    margin: 0px 10px;
    /* position: relative; */
}

.addbtn{
    width: 50px;
    height: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 28px;
    border-radius: 50%;
    background: red;
    color: #fff;
    position: fixed;
    right: 10px;
    bottom: 80px;

    .text{
        font-size: 12px;
    }
}

.listbox{
    display: grid;
    grid-template-columns: 1fr 5fr;
    margin: 10px 0px;
    padding: 10px 0px;
    border-bottom: solid 1px #f1f1f1;
}

.listimg{
    width: 20px;
}

.listinner{
    


    .listtitle{

        h4{
            font-size: 18px;
            span{
                font-size: 12px;
                font-weight: none;
                color: #918f90;
            }
        }

        .time{
            font-size: 12px;
            font-weight: none;
                color: #918f90;
        }
    }

    .wenzhangtitle{
        font-size: 18px;
        height: 40px;
        display: flex;
        align-items: center;
    }

    .wenzhanginner{
        font-size: 16px;
        color: #787677;
    }

    Button{
        margin: 10px 0px;
    }

    .guancha{
        font-size: 12px;
        color: #787677;
        display: flex;
        
        span{
            margin: 0px 5px;
            display: flex;
            align-items: center;
        }
    }
}

/* 发布弹层 - 紧凑样式 */
.publishHeader{
    font-size: 16px;
    font-weight: 600;
}

.publishBody{
    --adm-font-size-main: 13px;
}

.formItem{
    margin-bottom: 10px;
}

.label{
    font-size: 12px;
    color: #666;
    margin-bottom: 6px;
}

.formRow{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 10px;
}

.formItemHalf{
    display: flex;
    flex-direction: column;
}

.publishFooter{
    display: flex;
    justify-content: flex-end;
}

.selectBox{
    padding: 8px 10px;
    border: 1px solid #e6f0ff;
    border-radius: 8px;
    background: #f9fbff;
    font-size: 14px;
}

.inlinePicker{
    position: absolute;
    left: 0;
    right: 0;
    bottom: 56px; /* 避开底部按钮区 */
    background: #fff;
    border-top: 1px solid #f0f0f0;
}

.inlineActions{
    display: flex;
    justify-content: flex-end;
    padding: 8px 12px;
    border-top: 1px solid #f5f5f5;
    background: #fff;
}

/* 内部选择面板（科室/病症） */
.selectorPanel{
    position: absolute;
    left: 0;
    right: 0;
    bottom: 56px; /* 按钮区高度 */
    top: 48px;  /* 头部高度 */
    background: #fff;
    border-top: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
}

.selectorHeader{
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px;
    border-bottom: 1px solid #f5f5f5;
}

.selectorTitle{
    font-weight: 600;
    font-size: 15px;
}

.selectorSearchWrap{
    padding: 8px 12px;
}

.selectorList{
    flex: 1;
    overflow: auto;
    padding: 4px 12px 12px;
}

.selectorItem{
    padding: 8px 12px;
    border: 1px solid #f0f5ff;
    background: #fafcff;
    border-radius: 8px;
    margin-bottom: 8px;
    font-size: 14px;
}

/* 缩小 antd-mobile 输入组件字号与间距，仅限发布弹层内 */
:global(.adm-popup-body) .publishBody :global(.adm-input-element),
:global(.adm-popup-body) .publishBody :global(.adm-text-area-element){
    font-size: 14px;
}

:global(.adm-popup-body) .publishBody :global(.adm-list-item-content){
    padding: 6px 0;
}

:global(.adm-popup-body) .publishFooter :global(.adm-button){
    height: 34px;
    padding: 0 14px;
    font-size: 14px;
}